<?php
defined('IN_ADMIN') or exit('No permission resources.');
$show_dialog = $show_header = 1;
include $this->admin_tpl('header', 'admin');
?>

<div class="pad-lr-10">
    <form name="myform" action="?m=formguide&c=formguide&a=listorder" method="post">
        <div class="table-list">
            <table width="100%" cellspacing="0">
                <thead>
                <tr>
                    <!-- <th width="35" align="center"><input type="checkbox" value="" id="check_box" onclick="selectall('formid[]');"></th> -->
                    <th align="center"><?php echo L('name_items')?></th>
                    <th  align="center"><?php echo '批次'?></th>
                    <th  align="center"><?php echo '批次描述'?></th>
                    <!-- <th  align="center"><?php// echo L('introduction')?></th> -->
                    <th  align="center"><?php echo L('create_time')?></th>
                    <!-- 修改了长度 -->
                    <th  align="center"><?php echo L('operations_manage')?></th>
                </tr>
                </thead>
                <tbody>
                <?php
                if(is_array($data)){
                    foreach($data as $form){
                        ?>
                    <tr>
                         <!-- <td align="center"> -->
                            <!-- <input type="checkbox" name="formid[]" value="<?php// echo $form['modelid']?>"> -->
                        <!-- </td>  -->
                        <td align="center"><?php echo $form['name']?> </td>
                        <td align="center"><?php echo $form['batch']?></td>
                        <td align="center"><?php echo $form['batchdesc']?></td>
                        <!-- <td align="center"><?php //echo $form['description']?></td> -->
                        <td align="center"><?php echo date('Y-m-d H:i:s', $form['addtime'])?></td>
                        <td align="center">
                            <a href="?m=formguide&c=formguide_director&a=director_check&type=<?php echo $type;?>&formid=<?php echo $form['modelid']?>"><?php echo '审核本专业教师信息'?></a>
                        </td>
                    </tr>
                        <?php
                    }
                }
                ?>
                </tbody>
            </table>

            <!-- <div class="btn"><label for="check_box"><?php// echo L('selected_all')?>/<?php// echo L('cancel')?></label> -->
                <!-- <input name="submit" type="submit" class="button" value="<?php //echo L('remove_all_selected')?>" onClick="document.myform.action='?m=formguide&c=formguide&a=delete';return confirm('<?php //echo L('affirm_delete')?>')">&nbsp;&nbsp;</div>  </div> -->
        <div id="pages"><?php echo $this->db->pages;?></div>
    </form>
</div>
</body>
</html>